package com.kun.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kun.entity.SysTenant;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author kun.li
 */
@Mapper
public interface SysTenantMapper extends BaseMapper<SysTenant> {


    @Delete("DELETE FROM sys_role_menu where role_id=#{roleId}")
    void deleteRoleMenuRef(@Param("roleId") String roleId);


}
